Line Justification Constants

You use these constants to specify the degree of line justification for a single line or an entire text layout object. You can set the line justification text layout attribute for a line or an entire text layout object by passing the kATSULineJustificationFactorTag tag the functions ATSUSetLineControls and ATSUSetLayoutControls, respectively.

enum {
    kATSUNoJustification    = 0x00000000L,
    kATSUFullJustification  = 0x40000000L
};

Constant descriptions

kATSUNoJustification
Indicates no justification.

kATSUFullJustification
Full justification between the text margins. White space is "stretched" to make the line extend to both text margins.
VERSION NOTES
Available beginning with ATSUI 1.0.


© 2000 Apple Computer, Inc. – (Last Updated 25 Jan 00)